package com.hziee.graduate.ticket.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@EqualsAndHashCode(callSuper = true)
@TableName("t_room_record")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RoomRecord extends Model<RoomRecord> {

    @TableId(type = IdType.AUTO)
    private Long roomRecordId;

    private Long roomId;

    private Long createPerson;

    private LocalDateTime createTime;

    private String mem;

    private Integer state;

    private Integer done;
    //1-编辑；2-删除;
    private Integer optType;

    private LocalDateTime relieveTime;

    private Long cinemaId;
}

